package com.lottery.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lottery.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
* <p>
    * 快讯信息表
    * </p>
*
* @author jobob
* @since 2019-11-04
*/
    @Data
    @Accessors(chain = true)
    @ApiModel(value="TbNewsFlashInfo对象", description="快讯信息表")
    @TableName("tb_news_flash_info")
    public class NewsFlashInfo {

    private static final long serialVersionUID = 1L;


            @TableId(value = "id", type = IdType.AUTO)
    private Long id;

            @ApiModelProperty(value = "标题")
    private String title;

            @ApiModelProperty(value = "分类")
    private String classify;

            @ApiModelProperty(value = "类型 1文章、2图集、3视频")
    private Integer type;

            @ApiModelProperty(value = "封面")
    private String image;

            @ApiModelProperty(value = "标签")
    private String tag;

            @ApiModelProperty(value = "发布状态 0已发布 1草稿 2删除")
    private Integer status;

            @ApiModelProperty(value = "评论数量")
    private Integer commentNum;

            @ApiModelProperty(value = "点击数")
    private Integer clickNum;

    private LocalDateTime createTime;


}
